
package com.echo.sdk.im.model;


import java.io.Serializable;

/**
 * @author chentl
 * @version V1.0
 * @Project IM-SDK
 * @Title HeartbeatRequest.java
 * @Description 服务端心跳请求
 * @Package com.whdsj.sdk.im.server.model
 * @date 2020/9/14 11:50 上午
 */
public class HeartbeatRequest extends CIMMsg implements Serializable {

    private static final long serialVersionUID = 1L;
    private static final String TYPE = "SERVER_HEARTBEAT_REQUEST";
    private static final String CONTENT = "PING";
    private static HeartbeatRequest object = new HeartbeatRequest();

    private HeartbeatRequest() {

    }

    public static HeartbeatRequest getInstance() {
        object.setType(TYPE);
        object.setData(CONTENT);
        return object;
    }

    @Override
    public String toString() {
        return TYPE;
    }


}
